from django.conf.urls.defaults import *

urlpatterns = patterns('matchmeapp.views',
    (r'^$', 'list_greetings'),
    (r'^sign$', 'create_greeting'),
    (r'^get_alerts$', 'get_alerts'),
    (r'^get_friends$', 'get_friends'),
    (r'^request_friend/(\w+)$', 'request_friend'),
    (r'^accept_friend/(\d+)$', 'accept_friend'),
    (r'^deny_friend/(\d+)$', 'deny_friend'),
    (r'^accept_matchme$', 'accept_matchme'),
    (r'^deny_matchme/(\d+)$', 'deny_matchme'),
    (r'^add_comment/(\d+)/(\w+)/(\w+)$', 'add_comment'),
    (r'^get_comments/(\d+)$', 'get_comments'),
    (r'^add_tag/(\d+)/(\d+)$', 'add_tag'),
    (r'^add_like/(\d+)/(\w+)$', 'add_like'),
    (r'^remove_like/(\d+)/(\w+)$', 'remove_like'),
    (r'^get_likes/(\d+)$', 'get_likes'),
    (r'^get_recent/(\d+)$', 'get_recent'),
    (r'^get_relationship/(\w+)/(\d+)$', 'get_relationship'),
    (r'^get_timeline/(\d+)$', 'get_timeline'),
	(r'^get_timeline_latest/([-\w]+)$', 'get_timeline_latest'),
	(r'^get_recent_latest/([-\w]+)$', 'get_recent_latest'),
	(r'^get_alerts_latest/([-\w]+)$', 'get_alerts_latest'),
	(r'^get_post/(\d+)$', 'get_post'),
	(r'^create_post$', 'create_post'),
	(r'^create_user$', 'create_matchme_user'),
	(r'^login_user$', 'mm_login'),
	(r'^logout_user$', 'mm_logout'),
	(r'^find_friends/(\w+)$', 'find_friends'),
	(r'^get_image/(\d+)$', 'get_image'),
	(r'^show_image/(\d+)$', 'show_image')
)